#version 130

in vec3 vVertex;

in vec3 vNormal;

in vec3 vColor;

in vec2 vTexCoord;

out vec3 fColor;

out vec3 fNormal;

void main()
{
	fColor = vColor;
	fNormal = normalize(vNormal);

	gl_Position = gl_ModelViewProjectionMatrix * vec4( vVertex, 1.0 );
}

